/**
 * @description 互动管理
 * @author yd_yuliping 2020-11-02
 */
const interaction = [
  {
    path: 'interaction',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'interaction',
    redirect: '/interaction',
    meta: { title: 'interaction', icon: 'el-icon-notebook-2' },
    children: [
      // 投票
      {
        path: 'vote',
        name: 'InteractionVote',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/interaction/vote/index'),
        meta: { title: 'interactionVote', code: 'InteractionVote', icon: 'el-icon-document' }
      },
      // 评论
      {
        path: 'comment',
        name: 'InteractionComment',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/interaction/comment/index'),
        meta: { title: 'interactionComment', code: 'InteractionComment', icon: 'el-icon-document' }
      }
    ]
  }
];

export default [
  ...interaction
];
